package com.ant.storage.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author melon
 * @since 2023-12-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("depreciation_details")
@ApiModel(value="DepreciationDetails对象", description="")
public class DepreciationDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "城市id")
    @TableField("city_id")
    private Integer cityId;

    @ApiModelProperty(value = "部门id")
    @TableField("dep_id")
    private Integer depId;

    @ApiModelProperty(value = "资产id")
    @TableField("depreciation_id")
    private Integer depreciationId;

    @ApiModelProperty(value = "资产名称")
    @TableField("depreciation_name")
    private String depreciationName;

    @ApiModelProperty(value = "折旧时间")
    @TableField("start_time")
    private String startTime;

    @ApiModelProperty(value = "截止时间")
    @TableField("end_time")
    private Date endTime;

    @ApiModelProperty(value = "折扣金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "累计金额")
    @TableField("accumulated_amount")
    private BigDecimal accumulatedAmount;

    @ApiModelProperty(value = "折旧期数")
    @TableField("periods_amount")
    private Integer periodsAmount;

    @ApiModelProperty(value = "第几期")
    private Integer periods;

    @ApiModelProperty(value = "期号")
    @TableField("periods_code")
    private String periodsCode;

    @ApiModelProperty(value = "累计使用")
    @TableField("annual")
    private Integer annual;

    @ApiModelProperty(value = "本年累计")
    @TableField("annual_periods")
    private Integer annuaPeriods;


    @ApiModelProperty(value = "年度累计")
    @TableField("annual_cumulative")
    private Integer annualCumulative;


    @ApiModelProperty(value = "购买时间")
    @TableField("purchase_time")
    private String purchaseTime;


    @ApiModelProperty(value = "购买金额")
    @TableField("purchase_amount")
    private BigDecimal purchaseAmount;


    @ApiModelProperty(value = "创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("creation_time")
    private Date creationTime;

    @ApiModelProperty(value = "类型")
    private Integer types;

}
